home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xaw / box.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  75 lines

  1. /*
  2. * $XConsortium: Box.h,v 1.21 91/05/04 18:58:58 rws Exp $
  3. */
  4.  
  5.  
  6. /***********************************************************
  7. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  8. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  9.  
  10.                         All Rights Reserved
  11.  
  12. Permission to use, copy, modify, and distribute this software and its 
  13. documentation for any purpose and without fee is hereby granted, 
  14. provided that the above copyright notice appear in all copies and that
  15. both that copyright notice and this permission notice appear in 
  16. supporting documentation, and that the names of Digital or MIT not be
  17. used in advertising or publicity pertaining to distribution of the
  18. software without specific, written prior permission.  
  19.  
  20. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  21. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  22. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  23. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  25. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  26. SOFTWARE.
  27.  
  28. ******************************************************************/
  29.  
  30. #ifndef _XawBox_h
  31. #define _XawBox_h
  32.  
  33. #include <X11/Xmu/Converters.h>
  34.  
  35. /***********************************************************************
  36.  *
  37.  * Box Widget (subclass of CompositeClass)
  38.  *
  39.  ***********************************************************************/
  40.  
  41. /* Parameters:
  42.  
  43.  Name             Class        RepType        Default Value
  44.  ----             -----        -------        -------------
  45.  background         Background        Pixel        XtDefaultBackground
  46.  border             BorderColor    Pixel        XtDefaultForeground
  47.  borderWidth         BorderWidth    Dimension    1
  48.  destroyCallback     Callback        Pointer        NULL
  49.  hSpace          HSpace        Dimension    4
  50.  height             Height        Dimension    0
  51.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  52.  orientation         Orientation    XtOrientation    vertical
  53.  vSpace          VSpace        Dimension    4
  54.  width             Width        Dimension    0
  55.  x             Position        Position    0
  56.  y             Position        Position    0
  57.  
  58. */
  59.  
  60.  
  61. /* New fields */
  62. #ifndef _XtStringDefs_h_
  63. #define XtNhSpace "hSpace"
  64. #define XtNvSpace "vSpace"
  65. #endif
  66.  
  67. /* Class record constants */
  68.  
  69. extern WidgetClass boxWidgetClass;
  70.  
  71. typedef struct _BoxClassRec *BoxWidgetClass;
  72. typedef struct _BoxRec      *BoxWidget;
  73.  
  74. #endif /* _XawBox_h */
  75.